package com.project.poetry.service.entity.po.file;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.project.poetry.common.entity.BasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author mengxj
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_secret_file")
public class SecretFilePO extends BasePO {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("发起者")
    private Long producer;

    @ApiModelProperty("接收者")
    private Long consumer;

    @ApiModelProperty("文件id")
    private Long fileId;

    @ApiModelProperty("是否已下载 对应字典type=40")
    private Integer isDownload;
}
